Pearson Edexcel · A-Level · Mathematics
Course version: 603/1499/0 · Version from Sept 2017
Decision Mathematics 2
Full specification wording
Allocation (assignment) problems - Paper 4D: Decision Mathematics 2: 2.1 Modification of the Hungarian algorithm to deal with a maximum profit allocation.
The Hungarian algorithm as written minimises cost, so a maximum profit allocation needs a modification.
- Point 3 of 4
Study notes
From the teaching notes for this specification point.
The idea
The Hungarian algorithm as written minimises cost, so a maximum profit allocation needs a modification. One standard method converts profits into opportunity costs: subtract every entry from the largest entry in the profit matrix, producing a cost matrix whose least cost allocation corresponds to the maximum profit allocation. Alternatively negate all entries and run the least cost method, then interpret the result. After finding the allocation, read it back to the original profit matrix and total the original profits. The modification changes only the starting matrix; the reduction, covering and adjustment steps are unchanged.
What earns the marks
- Converts the profit matrix into a cost matrix, for example by subtracting each entry from the largest profit.
- Applies the standard Hungarian reduction, covering and adjustment steps to the converted matrix.
- Reads the resulting allocation back to the original profit matrix rather than the converted one.
- Totals the original profits to confirm the allocation gives the maximum profit.
Common mistakes and how to put them right
Runs the least cost algorithm directly on profits and reports the minimum profit allocation.
Put it right: Convert profits to costs first.
Totals the converted cost entries and presents them as profit.
Put it right: Sum the original profit values for the allocation.
Subtracts entries from the smallest profit instead of the largest.
Put it right: Use the largest entry so all converted values are non-negative.
Changes the covering or adjustment rules as well as the starting matrix.
Put it right: Only the starting matrix needs modifying.
Exam tips
- Show the converted cost matrix clearly and state the rule used to form it.
- Keep the original profit matrix alongside the working so the final total can be checked.
- Confirm the answer by comparing the total profit with an alternative feasible allocation.
Try the lesson
The start of the Allocation (assignment) problems - Paper 4D: Decision Mathematics 2: 2.1 Modification of the Hungarian algorithm to deal with a maximum profit allocation. lesson, made from teaching notes for this specification point.
Have a go first
A manager needs to maximise total profit from assigning three workers to three tasks. Which transformation of each entry in the profit matrix should be used before applying the Hungarian algorithm?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
5 free practice questions every day · Free forever · No card required
Test your understanding of Allocation (assignment) problems - Paper 4D: Decision Mathematics 2: 2.1 Modification of the Hungarian algorithm to deal with a maximum profit allocation.
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
5 free practice questions every day · Free forever · No card required